package com.ph.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@TableName("sys_department")
public class Department implements Serializable {
    private static final long serialVersionUID = -2491460925364953141L;
    private Integer id;
    private String name;
    private String type;
    private String code;
    private Integer userId;
    private String remark;
    private Integer parentId;
    private Integer createId;
    private Integer updateId;
    @TableField(exist = false)
    private List<Department> departments;
}
